Skip to content

created util method to normalise http protocol in http path - #724

Merged
nikhilsuri-db merged 10 commits into
mainfrom
PECOBLR-1446
Jan 5, 2026
Merged

created util method to normalise http protocol in http path#724
nikhilsuri-db merged 10 commits into
mainfrom
PECOBLR-1446

Conversation

@nikhilsuri-db

@nikhilsuri-db nikhilsuri-db commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Other

Description

Problem
Feature flag and telemetry endpoints were double-prepending https:// when server_hostname already included the protocol, causing https://https://host.com URLs. This broke telemetry for dbt-databricks users who configure hostnames with https:// prefix.

Solution
Added normalize_host_with_protocol() utility to handle protocol normalization
Updated feature flag and telemetry clients to use: normalize_host_with_protocol(host) + "/path"
Handles hostnames with/without protocol and trailing slashes

How is this tested?

  • Unit tests
  • E2E Tests
  • Manually
  • N/A

Related Tickets & Documents

#709

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants